package com.xs.business.mapper;

import java.util.List;
import com.xs.business.domain.TOrderFrom;

/**
 * 订单Mapper接口
 * 
 * @author ruoyi
 * @date 2024-06-30
 */
public interface TOrderFromMapper 
{
    /**
     * 查询订单
     * 
     * @param id 订单主键
     * @return 订单
     */
    public TOrderFrom selectTOrderFromById(Long id);

    /**
     * 查询订单列表
     * 
     * @param tOrderFrom 订单
     * @return 订单集合
     */
    public List<TOrderFrom> selectTOrderFromList(TOrderFrom tOrderFrom);

    /**
     * 新增订单
     * 
     * @param tOrderFrom 订单
     * @return 结果
     */
    public int insertTOrderFrom(TOrderFrom tOrderFrom);

    /**
     * 修改订单
     * 
     * @param tOrderFrom 订单
     * @return 结果
     */
    public int updateTOrderFrom(TOrderFrom tOrderFrom);

    /**
     * 删除订单
     * 
     * @param id 订单主键
     * @return 结果
     */
    public int deleteTOrderFromById(Long id);

    /**
     * 批量删除订单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTOrderFromByIds(Long[] ids);
}
